<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html {
            height: 100%
        }

        body {
            height: 100%;
            margin: 0px;
            padding: 0px
        }

        #container {
            height: 100%
        }
    </style>
</head>

<body>
    <div id="container"></div>
</body>
<script type="text/javascript"
    src="https://api.map.baidu.com/api?v=1.0&&type=webgl&ak=ZVKjMtNTL0tOh3vqjgMVhr02rwQNzyaL"></script>
<script type="text/javascript">
    // 实例化
    const map = new BMapGL.Map('container')


    // 经纬度
    const point = new BMapGL.Point(115.443585, 39.991705)

    // 生成
    map.centerAndZoom(point, 15)

    // 滚轮缩放
    map.enableScrollWheelScale()




</script>

</html>